package services;

import beans.Contract;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContractServices {
    List<Contract> selectList();

    List<Contract> selectSelective(String selectText,String inputText);

    int deleteByPrimaryKey(Integer aftersalesId);

    int insert(Contract record);

    int insertSelective(Contract record);

    Contract selectByPrimaryKey(Integer aftersalesId);

    int updateByPrimaryKeySelective(Contract record);

    int updateByPrimaryKey(Contract record);

    int count();
}
